import request from '@/utils/request';

export async function queryUserList(params) {
  return request.post('/user/list', { data: params });
}

export async function removeUser(params) {
  return request.post('/user/del', { data: params });
}

export async function disableUser(params) {
  return request.post('/user/disable', { data: params });
}

export async function resetPwd(params) {
  return request.post('/user/resetPwd', { data: params });
}

export async function addUser(params) {
  return request.post('/user/add', { data: params });
}

export async function updateUser(params) {
  return request.post('/user/update', { data: params });
}
